﻿using System;

namespace UComment.Interfaces
{
    public interface ISpamChecker
    {
        String ProviderName { get; set; }

        Boolean Check(int nodeid,
            string userAgent, string userIp, string author, 
            string authorEmail, string authorUrl, string content);

        void MarkAsHam(int nodeid,
            string author, string authorEmail, string authorUrl,
            string content);

        void MarkAsSpam(int nodeid,
            string author, string authorEmail, string authorUrl,
            string content);
    }
}
